package com.woniu.product.feign;

import com.woniu.common.dto.XGFLDto;
import com.woniu.common.utils.ResponseData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "scss-server")
public interface EcssFeign {
    @PostMapping("/TBXiaJia")
    ResponseData<?> TBXiaJia(@RequestBody List<String> productId);
    @PostMapping("/TBShangJia")
    ResponseData<?> TBShangJia(@RequestBody List<String> productId);
    @PostMapping("/TBUpdateProductType")
    ResponseData<?> TBUpdateProductType(@RequestBody XGFLDto XGFL);
    @PostMapping("/TBDeletePro")
    ResponseData<?> TBDeletePro (@RequestBody List<String> productId);
}
